package service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import feign.WxServiceFeign;
import pojo.AppWx;

@RestController
public class MemberServiceImpl implements MemberService {

	@Autowired
	private WxServiceFeign WxServiceFeign;

	/**
	 * 会员调用微信接口
	 */
	@Override
	@GetMapping("memberInvokeWx")
	public AppWx memberInvokeWx() {
		return WxServiceFeign.getWxApp();
	}

}
